class CRPEGraphDataInfo

The CRPEGraphDataInfo class contains information on what report data is used by a graph in the report to create the values in the graph. The class is used by CRPEJob::GetGraphData, to retrieve information regarding an existing graph and by CRPEJob::SetGraphData, to change the data used by an existing graph.

Data Members

m_rowGroupN

Specifies which group number in the report is used to create the values in the rows of the graph.

m_colGroupN

Specifies which group number in the report is used to create the values in the columns of the graph.

m_summarized
FieldN

Specifies which summary field in the report is used to set the values of the risers in the graph. Summary fields are numbered in order of their creation.

m_graphDirection

Specifies the graphing direction for cross-tab reports. For normal group/total report, the direction, is always PE_GRAPH_COLS_ONLY.

Constructor CRPEGraphDataInfo::CRPEGraphDataInfo

Constructs a CRPEGraphDataInfo class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Default Syntax

CRPEGraphDataInfo ();

Constructor Syntax
CRPEGraphDataInfo (rowGroupN SMALLINT : 0, colGroupN SMALLINT: 0 
summarizedFieldN SMALLINT : 0, graphDirection SMALLINT : 
PEP_GRAPH_COLS_ONLY);
Constructor Parameters

rowGroupN

Specifies which group number in the report is used to create the values
in the rows of the graph. Assigns this value to the CRPEGraphDataInfo::m_rowGroupN member variable.

colGroupN

Specifies which group number in the report is used to create the values
in the columns of the graph. Assigns this value to the CRPEGraphDataInfo::m_colGroupN member variable.

summarized
FieldN

Specifies which summary field in the report is used to set the values of the risers in the graph. Summary fields are numbered in order of their creation. Assigns this value to the CRPEGraphDataInfo::m_summarizedFieldN member variable.

graphDirection

Specifies the graphing direction for cross-tab reports. For normal group/total report, the direction, is always PEP_GRAPH_COLS_ONLY = 1. Assigns this value to the CRPEGraphDataInfo::m_graphDirection member variable. Possible values are:

Constant Value Description


PEP_GRAPH_ROWS_ONLY

0

Use only row values in graph.


PEP_GRAPH_COLS_ONLY

1

Use only column values in graph.


PEP_GRAPH_MIXED_ROW_COL

2

Graph by row values, then by column values.


PEP_GRAPH_MIXED_COL_ROW

3

Graph by column values, then by row values.


PEP_GRAPH_UNKNOWN_DIRECTION

20

The direction of the graph is unknown.

Related Report Engine Calls

PEGraphAxisInfo



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com